package ReCallADSL;

import java.net.InetSocketAddress;
import java.net.Socket;

import com.Util.StreamUtil;


public class SendADSL implements Runnable {

	@Override
	public void run() {
		System.out.println("網路異常。");
		int port = 6000;// 連線的port
		Socket client = null;
		try {
			client = new Socket();
			InetSocketAddress isa = new InetSocketAddress("192.168.1.102", port);
			client.connect(isa);
		} catch (Exception e) {
			e.printStackTrace();
		}finally{
			StreamUtil.close(client);
		}		
	}
	

}
